<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="${contextPath}/styles/default.css" rel="stylesheet" type="text/css" />
<title>补录审核</title>
</head>
<body>
<div class="navigation">
	    <span><a href="javascript:window.history.back();"><img src="${contextPath}/images/back_nav_btn.png" /></a>
	    <a href="javascript:window.history.back();">返回</a>
	    <a href="javascript:window.history.forward();"><img src="${contextPath}/images/go_nav_btn.png" /></a>
	     <a href="javascript:window.history.forward();">前进</a>
	    <a href="javascript:window.location.reload();"><img src="${contextPath}/images/refresh_nav_btn.png" /></a>
	     <a href="javascript:window.location.reload();">刷新</a>
	    </span>合格证管理&gt;&gt;合格证补录&gt;&gt;合格证补录审核
    </div>
<div class="xt_main_right_center">
<table width="100%" border="0" align="center">
  <tr>
    <td  class="left-td-width-bg" align="right">金融机构：</td>
    <td>${cerF.financial.name }</td>
    <td class="left-td-width-bg"  align="right">店号：</td>
    <td>${cerF.shop.shopMark }</td>
    <td  class="left-td-width-bg" align="right">订单号：</td>
    <td>${cerF.orderNumber }</td>
  </tr>
  <tr>
    <td class="left-td-width-bg"  align="right">渠道：</td>
    <td>
    ${cerF.brand.name }</td>
    <td class="left-td-width-bg"  align="right">店名：</td>
    <td>${cerF.shop.shopName }</td>
    <td  class="left-td-width-bg" align="right">发动机号：</td>
    <td>${cerF.engine }</td>
  </tr>
  <tr>
    <td  class="left-td-width-bg" align="right">合格证号：</td>
    <td>${cerF.certificationNum }</td>
    <td  class="left-td-width-bg" align="right">汇票号：</td>
    <td>${cerF.draft }</td>
    <td class="left-td-width-bg"  align="right">出门日：</td>
    <td align="center"><s:date name="cerF.goingOutDate" format="yyyy-MM-dd"/></td>
  </tr>
  <tr>
    <td  class="left-td-width-bg" align="right">车架号：</td>
    <td>${cerF.chassis }</td>
    <td class="left-td-width-bg"  align="right">汇票起始日：</td>
    <td align="center"><s:date name="cerF.draftBeginDate" format="yyyy-MM-dd"/></td>
    <td  class="left-td-width-bg" align="right">预定到店日：</td>
    <td align="center"><s:date name="cerF.scheduledDate" format="yyyy-MM-dd"/></td>
  </tr>
  <tr>
    <td  class="left-td-width-bg" align="right">车型：</td>
    <td>${cerF.motorcycleType }</td>
    <td class="left-td-width-bg"  align="right">汇票到期日：</td>
    <td align="center"><s:date name="cerF.draftEndDate" format="yyyy-MM-dd"/></td>
    <td class="left-td-width-bg"  align="right">供货价：</td>
    <td align="right"><s:property value="formatAmount(cerF.supplyPrice)"/></td>
  </tr>
</table>
</div>
<div class="xt_main_right_center">
<table width="100%" height="59" border="0" align="center" cellpadding="1" cellspacing="1">
  <tr>
    <td width="168">申请人：<s:property value="getuserName(cerF.creator)"/></td>
    <td>申请时间：<s:date name="cerF.buluDate" format="yyyy-MM-dd"/></td>
    </tr>
</table>
</div>
<form name="form1" id="form1" method="post" action="">
<input type="hidden" name="redirectUrl" value='<s:property value='redirectUrl'/>'/>
  <table width="1039" height="163" border="0" align="center">
    <tr>
      <td width="58" rowspan="2">备注：
      <input type="hidden" name="id" value="${cerF.id }"/></td>
      <td width="441" rowspan="2"><label>
        <textarea name="msg" cols="30" rows="5" id="textfield"></textarea>
      </label></td>
      <td width="527" height="69">&nbsp;</td>
    </tr>
    <tr>
      <td><input type="button" onClick="cao(1)" name="button" id="button"  class="btn_pass" value="">
      <input type="button" name="button2"  onClick="cao(2)" id="button2"  class="btn_refuse"  value=""></td>
    </tr>
  </table>
  	  <s:if test="workflow!=null&&workflow.operates!=null">
		<br/>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
		    <td height="25" align="left"><font color="#0066CC"><strong>流程操作记录：</strong></font></td>
		    <td height="25" align="right">
		    </td>
		  </tr>
		</table> 
		<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
		  <tr> 
		    <td width="3%" class="top-td-width-bg">序号</td>
		    <td width="20%" class="top-td-width-bg">操作人</td>
		    <td width="20%" class="top-td-width-bg">操作类型</td>
		    <td width="40%" class="top-td-width-bg">描述</td>
		    <td width="17%" class="top-td-width-bg">操作时间</td>
		  </tr>
		 <s:iterator value="workflow.operates" status="stx" >
			<tr height="26" align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> 
			 	<td align="center"><s:property value="#stx.index+1"/></td>
			    <td align="center"><s:property value="operater.realName"/></td>
			    <td align="center"><s:property value="type.name"/></td>
			    <td align="center"><s:property value="description"/></td>
			    <td align="center"><s:property value="operateDate"/></td>
			</tr>
		</s:iterator>
		</table>
		<br/>
	</s:if>
</form>
<br/><br/><br/><br/><br/>
		<div><jsp:include page="/include/footer.inc"></jsp:include></div>
</body>
<script language="javascript">
function cao(a){
var fo=document.form1;
fo.action="addVerify.do?caozuo="+a;
fo.submit();
}
</script>
</html>